package com.industry.framework.core.context.register;

import org.springframework.context.ApplicationContext;

/**
 * @Author nbZhuozh
 * @Date 2025-03-22  14:14
 **/
public abstract class AbstractCoreRegisterContext implements Register {

    public abstract void initCoreControllerClass(ApplicationContext applicationContext);

    public abstract void initCoreServiceClass(ApplicationContext applicationContext);

    public abstract void initMyBatisBaseMapper(ApplicationContext applicationContext);

    public abstract void initCoreChooser(ApplicationContext applicationContext);

    public abstract void initRecordBizHis();

    @Override
    public void register(ApplicationContext applicationContext){
        initRecordBizHis(); //注册 业务记录信息
        initCoreControllerClass(applicationContext);
        initMyBatisBaseMapper(applicationContext);
        initCoreServiceClass(applicationContext);
        initCoreChooser(applicationContext);
    }

    @Override
    public void register(){
    }
}
